package com.bike.modules.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
    * 意见反馈表
 * @author linyucha
 */
@ApiModel(value="意见反馈表")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "bike_feedback")
public class FeedbackDTO implements Serializable {

    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    @ApiModelProperty(value="")
    private Integer userId;

    @ApiModelProperty(value="")
    private String content;

    @ApiModelProperty(value="")
    private String reply;

    @ApiModelProperty(value="反馈意见类别：0:日常 1：系统，2：使用")
    private String type;

    @ApiModelProperty(value="")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value="删除标记")
    private Boolean delFlag;

    private String username;
}